<HTML>
<HEAD>
  <STYLE type="text/css">
    H1 {color: black }
    H2 {color: maroon }
    H3 {color: #007090 }
    A.head:link {color: #0060a0 }
    A.head:visited {color: #3040c0 }
    A.head:active {color: white }
    A.head:hover {color: yellow }
    A.red:link {color: red }
    A.red:visited {color: maroon }
    A.red:active {color: yellow }
  </STYLE>
</HEAD>
<TITLE>Magic-8.3 Command Reference</TITLE>
<BODY BACKGROUND=graphics/blpaper.gif>
<H1> <IMG SRC=graphics/magic_title8_3.png ALT="Magic VLSI Layout Tool Version 8.3">
     <IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1>

<H2>writeall</H2>
<HR>
Write out all modified cells to disk
<HR>

<H3>Shortcuts:</H3>
   <BLOCKQUOTE>
      Key macro <B>w</B> implements the command <B>writeall</B>. <BR>
      Key macro <B>W</B> implements the command <B>writeall force</B>.
   </BLOCKQUOTE>

<H3>Usage:</H3>
   <BLOCKQUOTE>
      <B>writeall</B> [<B>force</B>|<B>modified</B>|<B>noupdate</B> <I>cell1 cell2...</I>]<BR><BR>
   </BLOCKQUOTE>

<H3>Summary:</H3>
   <BLOCKQUOTE>
      The <B>writeall</B> command generates a popup dialog prompting
      for action on writing each cell definition in the layout
      hierarchy to disk.  As shown in the figure below, the popup
      dialog presents five choices:
      <DL>
	<DT> <B>write</B>
	<DD> Writes the single cell and continues the prompting for
	     the next cell.
        <DT> <B>flush</B>
	<DD> Reverts the cell to what was originally on the disk, like
	     the <B>flush</B> command.  Continues prompting for the
	     next cell.
        <DT> <B>skip</B>
	<DD> No action for the indicated cell definition; continue
	     prompting for the next cell.
	<DT> <B>abort</B>
	<DD> Stop all writing and terminate the command with no further
	     prompting or processing.
	<DT> <B>autowrite</B>
	<DD> Write all the cells, with no further prompting.
      </DL>

      <BLOCKQUOTE>
        <CENTER> 
	   <IMG SRC=graphics/writeall.gif> <BR>
	   <I>Figure 1.  The popup dialog of the <B>writeall</B> command.</I>
        </CENTER> 
      </BLOCKQUOTE>

      With the option <B>writeall force</B>, the command writes all cells
      in the hierarchy with no prompting.  If one or more cell names
      follows <B>write force</B>, the cells listed will be written 
      (action "write") and all other cells will be ignored (action
      "skip"). <P>

      With the option <B>writeall modified</B>, the command writes all
      cells in the hierarchy which have been modified, ignoring those
      cells marked as needing only a bounding box or timestamp update. <P>

      With the option <B>writeall noupdate</B>, the command writes all
      cells in the hierarchy like it would for <B>write force</B>, but
      it does not update timestamps. <P>

   </BLOCKQUOTE>

<H3>Implementation Notes:</H3>
   <BLOCKQUOTE>
      <B>writeall</B> is implemented as a built-in command in <B>magic</B>.
   </BLOCKQUOTE>

<H3>See Also:</H3>
   <BLOCKQUOTE>
      <A HREF=save.html><B>save</B></A> <BR>
   </BLOCKQUOTE>

<P><IMG SRC=graphics/line1.gif><P>
<TABLE BORDER=0>
  <TR>
    <TD> <A HREF=commands.html>Return to command index</A>
  </TR>
</TABLE>
<P><I>Last updated:</I> March 7, 2020 at 1:06pm <P>
</BODY>
</HTML>
